package com.example.demo.service;

import com.example.demo.entity.TestAsync;

import java.util.List;
import java.util.concurrent.CompletableFuture;

public interface TestService {
    default CompletableFuture<Integer> testInsert(TestAsync testAsync) throws Exception {
        throw new Exception("未实现");
    }

    default void testInsert() throws Exception {
        throw new Exception("未实现");
    }

    default List<TestAsync> get() {
        return null;
    }

    default void testTrans() {
    }

    default CompletableFuture<String> testaaa(Integer e) throws Exception {
        return null;
    }

    default CompletableFuture<String> testbbb(Integer e) throws Exception {
        return null;
    }
}
